QMenuBar#myMenuBar
{
    background-color: grey;
}

QLabel#login
{
   background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E0E0E0, stop: 1 #FFFFFF);
   border-radius: 5px;
   color: black;
   font: bold 14px;
}

QLabel#avatar
{
    border-style: outset;
    border-width: 3px;
    border-radius: 10px;
    border-color: rgb(100,100,100);
    font: bold;
}

QComboBox 
{
     border: 1px solid gray;
     border-radius: 3px;
     padding: 1px 18px 1px 3px;
     min-width: 6em;
}
 
QComboBox:on 
{
    padding-top: 3px;
    padding-left: 4px;
}
 
QComboBox::drop-down 
{
    subcontrol-origin: padding;
    subcontrol-position: top right;
    width: 15px;
    border-left-width: 1px;
    border-left-color: darkgray;
    border-left-style: solid;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

QComboBox::down-arrow 
{
    image: url(../trunk/images/down_arrow.png);
}
 
QComboBox::down-arrow:on 
{
     top: 1px;
     left: 1px;
}

QMainWindow
{
  background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #000000, stop: 1 #FFFFFF);
}

QMainWindow::separator 
{
    background: black;
    width: 3px;
    height: 3px;
}

QMainWindow::separator:hover 
{
    background: grey;
}

QListWidget 
{
    alternate-background-color: yellow;
}

QListWidget 
{
    show-decoration-selected: 1;
}

QListWidget::item:alternate 
{
    background: #EEEEEE;
}

QListWidget::item:selected 
{
    border: 1px solid #6a6ea9;
}

QListWidget::item:selected:!active 
{
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ABAFE5, stop: 1 #8588B2);
}

QListWidget::item:selected:active 
{
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6a6ea9, stop: 1 #888dd9);
}

QListWidget::item:hover 
{
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #FAFBFE, stop: 1 #DCDEF1);
}

QLabel#loginAccount
{
    color: black;
    font: bold, 12px;
}

QLabel#passwordAccount
{
    color: black;
    font: bold, 12px;
}

QLabel#info
{
    color: red;
    font: bold, 14px;
}

QLabel#createAccount
{
    font: bold, 16px;
}

QLineEdit 
{
     border: 2px solid gray;
     border-radius: 10px;
     padding: 0 8px;
     background: white;
     selection-background-color: darkgray;
}

QLineEdit[echoMode="2"] 
{
    lineedit-password-character: 9679;
}
 
QLineEdit:read-only 
{
    background: lightblue;
}

QLabel#registerTextInfo
{
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E0E0E0, stop: 1 #FFFFFF);
    border-radius: 10px;
    color: black;
    font: bold 12px;
}

QLabel#registerLogin
{
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E0E0E0, stop: 1 #FFFFFF);
    border-radius: 10px;
    color: black;
    font: bold 12px;
}

QLabel#registerPassword
{
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E0E0E0, stop: 1 #FFFFFF);
    border-radius: 10px;
    color: black;
    font: bold 12px;
}

QGroupBox
{
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E0E0E0, stop: 1 #FFFFFF);
    border: 2px solid gray;
    border-radius: 5px;
    margin-top: 1ex;
    color: black;
    font: bold, 14px;
}
 
QGroupBox::title
{
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E0E0E0, stop: 1 #FFFFFF);
    border-radius: 5px;
    subcontrol-origin: margin;
    subcontrol-position: top center;
    padding: 0 3px;
}

QGroupBox::indicator
{
    width: 13px;
    height: 13px;
}

QDialog#createAccount
{
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #000000, stop: 1 #FFFFFF);
}


QMessageBox
{
    /*background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #FFFFFF, stop: 1 #000000);*/
    font: bold, 12px;
}

QPushButton#connection
{
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E0E0E0, stop: 1 #FFFFFF);
    border: 2px solid gray;
    border-radius: 5px;
    color: black;
    font: bold, 12px;    
}

QTextEdit
{
   background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E0E0E0, stop: 1 #FFFFFF);
   border: 1px solid black;
   border-radius: 10px;
}

QWidget#talkWindow
{
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop: 1 #FFFFFF);
    border-radius: 10px;
    color: black;
    font: bold 12px;
}

QPushButton#talkWindowSend
{
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #AAAAAA, stop: 1 #FFFFFF);
    border: 1px solid grey;
    border-radius: 5px;
    color: black;
    font: bold, 12px;
}

QToolBar
{
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #000000, stop: 1 #FFFFFF);
    spacing: 5px;
}

QToolButton 
{
    border: 2px solid #8f8f91;
    border-radius: 6px;
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde);
}
 
QToolButton[popupMode="1"] 
{
    padding-right: 20px;
}
 
QToolButton:pressed 
{
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #dadbde, stop: 1 #f6f7fa);
}
 
 
QToolButton::menu-button 
{
    border: 2px solid gray;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    width: 16px;
}
 
QToolButton::menu-arrow:open
{
    top: 1px; left: 1px;
}

QTabWidget
{
    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop: 1 #FFFFFF);
}


QTabWidget::pane 
{
     border-top: 2px solid #C2C7CB;
}

QTabWidget::tab-bar 
{
     left: 5px;
}

QTabBar::tab 
{
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
                                 stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
    border: 2px solid #C4C4C3;
    border-bottom-color: #C2C7CB;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    min-width: 15ex;
    padding: 2px;
    color: black;
    font: bold, 12px;
}

QTabBar::tab:selected, QTabBar::tab:hover 
{
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                stop: 0 #fafafa, stop: 0.4 #f4f4f4,
                                stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
}

QTabBar::tab:selected 
{
    border-color: #9B9B9B;
    border-bottom-color: #C2C7CB;
}

QTabBar::tab:!selected 
{
    margin-top: 2px;
}

QLabel#infoAddContact
{
    color: white;
    font: bold, 12px;
}

QDialog#addContact
{
    background-color: black;
}